package com.example.demo.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.configure.Result;
import com.example.demo.entity.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lzgang
 * @since 2020-11-04
 */
public interface UserService extends IService<User> {

    Result<User> updateUser(User user);

    Result<User> delUser(User user);

    Result<User> batchDelUser(User user);

    Result<User> queryUser(User user);

    Result<User> queryUserByPage(User user);

    Result<User> queryUserById(User user);

}
